   
   
    
   
CKEDITOR.editorConfig = function( config )
{
	// Define changes to default configuration here. For example:
	// config.language = 'fr';
	// config.uiColor = '#AADC6E';
	
	//config.extraPlugins = 'MediaEmbed,2010';

//CKEDITOR.plugins.addExternal( 'insertText', CKEDITOR.basePath + '../ckeditor_customized/plugins/InsertText/' );	
 
  //  CKEDITOR.config.contentsCss = '/main.css';      
    

 

// Loads a plugin from '/myplugin/samples/plugin.js'.
CKEDITOR.plugins.addExternal( 'snapol', '/snapol/edit/ckeditor_plugins/' );


    //config.EditorAreaCSS = 'http://localhost/main.css' ;                                                
    
    
    config.extraPlugins = 'snapol,tableresize';
    
    
    //config.menu_subMenuDelay = 1500;  

    //config.stylesCombo_stylesSet = 'my_styles:https://memonicstatic.s3.amazonaws.com/common/0.1.dev-r13100/gz/css/base.css';
    //config.stylesCombo_stylesSet = 'my_styles';
    config.EditorAreaCSS = 'styles.css' ;
    //config.contentsCss = 'styles.css';
    
    

config.toolbar = 'MyToolbar';

    config.toolbar_MyToolbar =
    [
        ['Styles', 'Format','Source', 'Bold','Italic','Underline','Strike','-', 'NumberedList','BulletedList','HorizontalRule','-', 'Table', 'Link', 'cmslink', 'insertImage'],
       ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],            
        ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],  
        ['Cut','Copy','Paste','PasteText','PasteFromWord'],
 ['Form', 'Button', 'Select', 'TextField', 'Textarea', 'HiddenField', 'Checkbox', 'dataform', 'datatable', 'datadetail', 'com', 'document','phpfile', 'cmslink']
    ]; 
    
    
   
        
          
          // 'Image', 'Table', 'email', 's_link', 'dataform', 'datatable','special_command', , 'uploadDocument'
          //'sql_exec', 'excelExport', 'documentUpload', 
      //   ['Bold','Italic','Underline','Strike','-', 'NumberedList','BulletedList','HorizontalRule','-', 'Link', 'Table', 'email', 'insertImage','cmslink', 'Source'],      
          
   /* config.toolbar = 'toolbarSimple';

    config.toolbar_toolbarSimple =
    [
        ['Styles','Format','Font', 'Bold','Italic','Underline', '-','Table','clipboard', '-','insertImage', 'Source', 'dataform']
    ];   */     
       
     
     
     
     
           //CKEDITOR
    /* config.addStylesSet('default',[{name:'Blue Title',element:'h3',styles:{color:'Blue'}},{name:'Red Title',element:'h3',styles:{color:'Red'}},{name:'Marker: Yellow',element:'span',styles:{'background-color':'Yellow'}},{name:'Marker: Green',element:'span',styles:{'background-color':'Lime'}},
     {name:'Big',element:'big'},{name:'Small',element:'small'},{name:'Typewriter',element:'tt'},{name:'Computer Code',element:'code'},{name:'Keyboard Phrase',element:'kbd'},{name:'Sample Text',element:'samp'},{name:'Variable',element:'var'},{name:'Deleted Text',element:'del'},
     {name:'Inserted Text',element:'ins'},{name:'Cited Work',element:'cite'},{name:'Inline Quotation',element:'q'},{name:'Language: RTL',element:'span',attributes:{dir:'rtl'}},{name:'Language: LTR',element:'span',attributes:{dir:'ltr'}},{name:'Image on Left',element:'img',
     attributes:{style:'padding: 5px; margin-right: 5px',border:'2',align:'left'}},{name:'Image on Right',element:'img',attributes:{style:'padding: 5px; margin-left: 5px',border:'2',align:'right'}}]);
      */
      
      
      
    //  CKEDITOR.addStylesSet('default',[{name:'Blue Title',element:'h3',styles:{color:'Blue'}},{name:'Red Title',element:'h3',styles:{color:'Red'}},{name:'Marker: Yellow',element:'span',styles:{'background-color':'Yellow'}},{name:'Marker: Green',element:'span',styles:{'background-color':'Lime'}},{name:'Big',element:'big'},{name:'Small',element:'small'},{name:'Typewriter',element:'tt'},{name:'Computer Code',element:'code'},{name:'Keyboard Phrase',element:'kbd'},{name:'Sample Text',element:'samp'},{name:'Variable',element:'var'},{name:'Deleted Text',element:'del'},{name:'Inserted Text',element:'ins'},{name:'Cited Work',element:'cite'},{name:'Inline Quotation',element:'q'},{name:'Language: RTL',element:'span',attributes:{dir:'rtl'}},{name:'Language: LTR',element:'span',attributes:{dir:'ltr'}},{name:'Image on Left',element:'img',attributes:{style:'padding: 5px; margin-right: 5px',border:'2',align:'left'}},{name:'Image on Right',element:'img',attributes:{style:'padding: 5px; margin-left: 5px',border:'2',align:'right'}}]);
     
     
     
     
     
     
     
     
     
     
     
     
     CKEDITOR.config.contentsCss = '/main.css';       
       
   // config.EditorAreaCSS = '/main.css' ;   
    //config.contentsCss = 'main.css'; 
    
  
         
                  
    //'BUTTON',
        //['Forms','special_command','Source', 'email','link2' ,'Bold','Italic','Underline','Strike','-', 'Image', 'Table']    
                          
                          //, 'MediaEmbed'
                                       //, 's_link'
  //  config.menu_groups = 'clipboard,form,tablecell,tablecellproperties,tablerow,tablecolumn,table,anchor,link,image,
    //       flash,checkbox,radio,textfield,hiddenfield,imagebutton,textarea';
    

    
                                                                  //button,select
//    config.menu_groups = 'clipboard,form,tablecell,tablecellproperties,tablerow,tablecolumn,table,anchor,link,image,
  //         flash,checkbox,radio,textfield,hiddenfield,imagebutton,button,select,textarea';
    
    
    
	// ['About','MediaEmbed', '2010', '2011', 'YouTube', 'Zoom', 'email']MediaEmbed
	
	/*['Source','-','Save','NewPage','Preview','-','Templates'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
'/',
['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
['Link','Unlink','Anchor'],
'/',
['Styles','Format','Font','FontSize'],
]; */
	
	
	
	
};


CKEDITOR.config.contentsCss = '/main.css';     
